Skip to content

Displaced Particle Gun - #51006

Merged
cmsbuild merged 10 commits into
cms-sw:masterfrom
bfonta:feature/displaced_gun
Jul 12, 2026
Merged

Displaced Particle Gun#51006
cmsbuild merged 10 commits into
cms-sw:masterfrom
bfonta:feature/displaced_gun

Conversation

@bfonta

@bfonta bfonta commented May 21, 2026

Copy link
Copy Markdown
Contributor

PR description:

This PR introduces a displaced particle gun producer, and adds corresponding workflows.
The producer is useful for studies considering displaced topologies.

The producer selects a vertex position by randomly generating a set of $R>0$, $\phi_{\text{Vtx}} \in [0;2\pi[$, and $z>0$ coordinates. The momentum of the particle is then randomly generated using $p_{\text{T}}$, $\theta \in [0, \pi[$ and $\phi \in [-\pi; \pi[$ coordinates. The vertex displacement $R$ can be generated uniformly along $R$, or uniformly along the area of an annulus of radius $R_{\text{max}}-R_{\text{min}}$.

The gun can be forced to only generate particles reaching the surface of HGCAL via the PointingToHGCAL flag. In this case, $\theta$ and $\phi$ are generated multiple times until a configuration enables the particle to lie within RminFrontSurfaceHGCAL and RmaxFrontSurfaceHGCAL. Note that, given a displaced vertex, setting only a $\theta$ range is not sufficient to guarantee that a particle is produced in the right direction. By default, RminFrontSurfaceHGCAL and RmaxFrontSurfaceHGCAL delimit the inner third of HGCAL's front surface, ensuring virtually all showers produced up to $R=200\text{cm}$ traverse the entirety of the CE-E. The PointingToHGCAL flag cannot be used with charged particles, since their curved trajectories under the magnetic field breaks the implemented logic.

PR validation

Inspecting the output of step2 with cmsShow shows photons produced at the right $R$ values, and always pointing towards the positive endcap.

Running the workflows produces the intended commands:

$ runTheMatrix.py -l 34554.0 -w upgrade 
...
Preparing to run 34554.0 DisplacedPGun+Run4D121                                                                                                                                                                    
                                                                                                                                                                                                                   
# in: /cms-hlt-nfs/user/bfontana/DisplacedSamples/src going to execute cd 34554.0_DisplacedPGun+Run4D121                                                                                                           
 cmsDriver.py DisplacedParticleGun_cfi  -s GEN,SIM -n 10 --conditions auto:phase2_realistic_T35_13TeV --beamspot DBrealisticHLLHC --datatier GEN-SIM --eventcontent FEVTDEBUG --geometry ExtendedRun4D121 --era Pha
se2C22I13M9 --relval 9000,100 --fileout file:step1.root  > step1_DisplacedPGun+Run4D121.log  2>&1                                                                                                                  
                                                                                                                                                                                                                   
                                                                                                                                                                                                                   
# in: /cms-hlt-nfs/user/bfontana/DisplacedSamples/src going to execute cd 34554.0_DisplacedPGun+Run4D121                                                                                                           
 cmsDriver.py step2  -s DIGI:pdigi_valid,L1TrackTrigger,L1,L1P2GT,DIGI2RAW,HLT:@relvalRun4 --conditions auto:phase2_realistic_T35 --datatier GEN-SIM-DIGI-RAW -n 10 --eventcontent FEVTDEBUGHLT --geometry Extended
Run4D121 --era Phase2C22I13M9 --filein  file:step1.root  --fileout file:step2.root  > step2_DisplacedPGun+Run4D121.log  2>&1                                                                                       
                                                                                                                                                                                                                   
                                                                                                                                                                                                                   
# in: /cms-hlt-nfs/user/bfontana/DisplacedSamples/src going to execute cd 34554.0_DisplacedPGun+Run4D121                                                                                                           
 cmsDriver.py step3  -s RAW2DIGI,RECO,RECOSIM,PAT,VALIDATION:@phase2Validation+@miniAODValidation,DQM:@phase2+@miniAODDQM --conditions auto:phase2_realistic_T35 --datatier GEN-SIM-RECO,MINIAODSIM,DQMIO -n 10 --e
ventcontent FEVTDEBUGHLT,MINIAODSIM,DQM --geometry ExtendedRun4D121 --era Phase2C22I13M9 --filein  file:step2.root  --fileout file:step3.root  > step3_DisplacedPGun+Run4D121.log  2>&1                            
                                                                                                                                                                                                                   
                                                                                                                                                                                                                   
# in: /cms-hlt-nfs/user/bfontana/DisplacedSamples/src going to execute cd 34554.0_DisplacedPGun+Run4D121                                                                                                           
 cmsDriver.py step4  -s HARVESTING:@phase2Validation+@phase2+@miniAODValidation+@miniAODDQM --conditions auto:phase2_realistic_T35 --mc  --geometry ExtendedRun4D121 --scenario pp --filetype DQM --era Phase2C22I1
3M9 -n 100  --filein file:step3_inDQM.root --fileout file:step4.root  > step4_DisplacedPGun+Run4D121.log  2>&1                                                                                                     
                                                                                                                                                                                                                   
                                                                                                                                                                                                                   
# in: /cms-hlt-nfs/user/bfontana/DisplacedSamples/src going to execute cd 34554.0_DisplacedPGun+Run4D121                                                                                                           
 cmsDriver.py step5  -s ALCA:SiPixelCalSingleMuonLoose+SiPixelCalSingleMuonTight+TkAlMuonIsolated+TkAlMinBias+MuAlOverlaps+EcalESAlign+TkAlZMuMu+TkAlDiMuonAndVertex+HcalCalHBHEMuonProducerFilter+TkAlUpsilonMuMu+
TkAlJpsiMuMu --conditions auto:phase2_realistic_T35 --datatier ALCARECO -n 10 --eventcontent ALCARECO --geometry ExtendedRun4D121 --era Phase2C22I13M9 --filein file:step3.root --fileout file:step5.root  > step5_
DisplacedPGun+Run4D121.log  2>&1                                                                                                                                                                                   
                                                                                                                                                                                                                   
34554.0_DisplacedPGun+Run4D121 Step0-PASSED Step1-PASSED Step2-PASSED Step3-PASSED Step4-PASSED  - time date Thu May 21 01:14:13 2026-date Thu May 21 01:07:37 2026; exit: 0 0 0 0 0                               
1 1 1 1 1 tests passed, 0 0 0 0 0 failed 

Update:

I've also added a HLT-only displaced workflow (with the NGTScouting HLT menu):

$ runTheMatrix.py -l 34554.77 -w upgrade

...

Preparing to run 34554.77 DisplacedPGun+Run4D121_NGTScouting                                                                                                                            
                                                                                                                                                                                        
# in: /cms-hlt-nfs/user/bfontana/DisplacedSamples/src going to execute cd 34554.77_DisplacedPGun+Run4D121_NGTScouting                                                                   
 cmsDriver.py DisplacedParticleGun_cfi  -s GEN,SIM -n 10 --conditions auto:phase2_realistic_T35_13TeV --beamspot DBrealisticHLLHC --datatier GEN-SIM --eventcontent FEVTDEBUG --geometry
 ExtendedRun4D121 --era Phase2C22I13M9 --relval 9000,100 --fileout file:step1.root  > step1_DisplacedPGun+Run4D121_NGTScouting.log  2>&1                                                
                                                                                                                                                                                        
                                                                                                                                                                                        
# in: /cms-hlt-nfs/user/bfontana/DisplacedSamples/src going to execute cd 34554.77_DisplacedPGun+Run4D121_NGTScouting                                                                   
 cmsDriver.py step2  -s DIGI:pdigi_valid,L1TrackTrigger,L1,L1P2GT,DIGI2RAW,HLT:NGTScouting,VALIDATION:@hltValidation --conditions auto:phase2_realistic_T35 --datatier GEN-SIM-DIGI-RAW,
DQMIO -n 10 --eventcontent FEVTDEBUGHLT,DQMIO --geometry ExtendedRun4D121 --era Phase2C22I13M9 --procModifiers ngtScouting --customise SLHCUpgradeSimulations/Configuration/aging.custom
ise_aging_1000 --filein  file:step1.root  --fileout file:step2.root  > step2_DisplacedPGun+Run4D121_NGTScouting.log  2>&1                                                               
                                                                                                                                                                                        
                                                                                                                                                                                        
# in: /cms-hlt-nfs/user/bfontana/DisplacedSamples/src going to execute cd 34554.77_DisplacedPGun+Run4D121_NGTScouting                                                                   
 cmsDriver.py step3  -s HARVESTING:@hltValidation --conditions auto:phase2_realistic_T35 --mc  --geometry ExtendedRun4D121 --scenario pp --filetype DQM --era Phase2C22I13M9 --procModif
iers ngtScouting -n 100  --filein file:step2_inDQM.root --fileout file:step3.root  > step3_DisplacedPGun+Run4D121_NGTScouting.log  2>&1                                                 
                                                                                                                                                                                        
34554.77_DisplacedPGun+Run4D121_NGTScouting Step0-PASSED Step1-PASSED Step2-PASSED  - time date Thu May 28 17:07:11 2026-date Thu May 28 17:03:56 2026; exit: 0 0 0                     
1 1 1 tests passed, 0 0 0 failed 

@bfonta

bfonta commented May 21, 2026

Copy link
Copy Markdown
Contributor Author

type ngt

@cmsbuild

cmsbuild commented May 21, 2026

Copy link
Copy Markdown
Contributor

cms-bot internal usage

@cmsbuild

Copy link
Copy Markdown
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51006/49427

@cmsbuild

Copy link
Copy Markdown
Contributor

A new Pull Request was created by @bfonta for master.

It involves the following packages:

  • Configuration/Generator (generators)
  • Configuration/PyReleaseValidation (pdmv)
  • IOMC/ParticleGuns (generators)

@AdrianoDee, @DickyChant, @antoniovagnerini, @cmsbuild, @kfjack, @lviliani, @miquork, @mkirsano, @sensrcn, @sroychow, @theofil can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @fabiocos, @grzanka, @makortel, @slomeo this is something you requested to watch as well.
@ftenchini, @mandrenguyen, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@mmusich

mmusich commented May 21, 2026

Copy link
Copy Markdown
Contributor

test parameters:

  • relval_opts = -w upgrade
  • workflows = 34554.0

@mmusich

mmusich commented May 21, 2026

Copy link
Copy Markdown
Contributor

@cmsbuild, please test

@mmusich mmusich left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from a first cursory review.

Comment thread IOMC/ParticleGuns/src/DisplacedParticleGunProducer.cc Outdated
Comment thread IOMC/ParticleGuns/src/DisplacedParticleGunProducer.cc Outdated
Comment thread IOMC/ParticleGuns/src/DisplacedParticleGunProducer.cc Outdated
Comment thread IOMC/ParticleGuns/src/DisplacedParticleGunProducer.cc
@cmsbuild

Copy link
Copy Markdown
Contributor

+1

Size: This PR adds an extra 116KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-444934/53402/summary.html
COMMIT: b76569b
CMSSW: CMSSW_17_0_X_2026-05-20-2300/el8_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/51006/53402/install.sh to create a dev area with all the needed externals and cmssw changes.

DAS Queries: The DAS query tests failed, see the summary page for details.

Comparison Summary

Summary:

  • You potentially added 1 lines to the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 10 differences found in the comparisons
  • DQMHistoTests: Total files compared: 53
  • DQMHistoTests: Total histograms compared: 4198477
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 4198451
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 52 files compared)
  • Checked 227 log files, 197 edm output root files, 53 DQM output files
  • TriggerResults: no differences found

@cmsbuild

Copy link
Copy Markdown
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51006/49429

@cmsbuild

Copy link
Copy Markdown
Contributor

Pull request #51006 was updated. @AdrianoDee, @DickyChant, @antoniovagnerini, @cmsbuild, @kfjack, @lviliani, @miquork, @mkirsano, @sensrcn, @sroychow, @theofil can you please check and sign again.

@bfonta

bfonta commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

@AdrianoDee I've removed the problematic lines. The rest was left unchanged.

@cmsbuild

cmsbuild commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51006/50097

@cmsbuild

cmsbuild commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Pull request #51006 was updated. @AdrianoDee, @DickyChant, @antoniovagnerini, @cmsbuild, @kfjack, @miquork, @sroychow can you please check and sign again.

@bfonta

bfonta commented Jul 8, 2026

Copy link
Copy Markdown
Contributor Author

@cmsbuild, please test

@cmsbuild

cmsbuild commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

-1

Failed Tests: UnitTests RelVals
Size: This PR adds an extra 16KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-444934/54586/summary.html
COMMIT: 43b304c
CMSSW: CMSSW_20_1_X_2026-07-07-2300/el9_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/51006/54586/install.sh to create a dev area with all the needed externals and cmssw changes.

Failed Unit Tests

I found 1 errors in the following unit tests:

---> test test-runTheMatrix-interactive had ERRORS

Failed RelVals

+ echo 'ERROR : runTheMatrix returned non-zero exit code'
ERROR : runTheMatrix returned non-zero exit code
ERROR Running runTheMatrix for '-s -l 9.0,101.0,1306.0'
+ echo 'ERROR : runTheMatrix returned non-zero exit code'
ERROR : runTheMatrix returned non-zero exit code
ERROR Running runTheMatrix for '-l 34554.0 -w upgrade'

@bfonta

bfonta commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

@AdrianoDee I found and fixed the bug that was leading to interferences with Displaced SUSY workflows. Please review.

@cmsbuild

cmsbuild commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51006/50150

@cmsbuild

cmsbuild commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Pull request #51006 was updated. @AdrianoDee, @DickyChant, @antoniovagnerini, @cmsbuild, @kfjack, @miquork, @sroychow can you please check and sign again.

@mmusich

mmusich commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

@cmsbuild, please test

@cmsbuild

cmsbuild commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

-1

Failed Tests: RelVals
Size: This PR adds an extra 72KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-444934/54650/summary.html
COMMIT: a76ace7
CMSSW: CMSSW_20_1_X_2026-07-09-1100/el9_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/51006/54650/install.sh to create a dev area with all the needed externals and cmssw changes.

DAS Queries: The DAS query tests failed, see the summary page for details.

Failed RelVals

----- Begin Fatal Exception 09-Jul-2026 21:17:09 CEST-----------------------
An exception of category 'StdException' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing module: class=MTDTrackQualityMVAProducer label='mtdTrackQualityMVA'
Exception Message:
A std::exception was thrown.
FATAL error
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 09-Jul-2026 21:17:09 CEST-----------------------
An exception of category 'FatalRootError' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing module: class=LowPtGsfElectronSeedProducer label='lowPtGsfElectronSeeds'
   [2] While initializing meta data for branch: recoPreIdsrecoPreIdrecoPreIdsrecoPreIdedmrefhelperFindUsingAdvanceedmRefedmValueMap_lowPtGsfElectronSeeds__RECO.
   [3] Calling edm::TypeWithDict::byName()
   Additional Info:
      [a] Getting TClass for edm::ValueMap<edm::Ref<std::vector<reco::io_v1::PreId>,reco::io_v1::PreId,edm::refhelper::FindUsingAdvance<std::vector<reco::io_v1::PreId>,reco::io_v1::PreId> > >
      [b] Fatal Root Error: @SUB=TInterpreter::AutoParse
Error parsing payload code for class reco::io_v1::PreId with content:

#line 1 "DataFormatsParticleFlowReco_x1r dictionary payload"

#ifndef ALPAKA_DEFAULT_HOST_MEMORY_ALIGNMENT
  #define ALPAKA_DEFAULT_HOST_MEMORY_ALIGNMENT 128
#endif
#ifndef ALPAKA_DISABLE_VENDOR_RNG
  #define ALPAKA_DISABLE_VENDOR_RNG 1
#endif
#ifndef ALPAKA_HAS_STD_ATOMIC_REF
  #define ALPAKA_HAS_STD_ATOMIC_REF 1
#endif
#ifndef CMS_DICT_IMPL
  #define CMS_DICT_IMPL 1
#endif
#ifndef _REENTRANT
  #define _REENTRANT 1
#endif
#ifndef GNUSOURCE
  #define GNUSOURCE 1
#endif
#ifndef __STRICT_ANSI__
  #define __STRICT_ANSI__ 1
#endif
#ifndef CMS_MICRO_ARCH
  #define CMS_MICRO_ARCH "x86-64-v3"
#endif
#ifndef GNU_GCC
  #define GNU_GCC 1
#endif
#ifndef _GNU_SOURCE
  #define _GNU_SOURCE 1
#endif
#ifndef TBB_USE_GLIBCXX_VERSION
  #define TBB_USE_GLIBCXX_VERSION 130400
#endif
#ifndef TBB_SUPPRESS_DEPRECATED_MESSAGES
  #define TBB_SUPPRESS_DEPRECATED_MESSAGES 1
#endif
#ifndef TBB_PREVIEW_RESUMABLE_TASKS
  #define TBB_PREVIEW_RESUMABLE_TASKS 1
#endif
#ifndef TBB_PREVIEW_TASK_GROUP_EXTENSIONS
  #define TBB_PREVIEW_TASK_GROUP_EXTENSIONS 1
#endif
#ifndef BOOST_SPIRIT_THREADSAFE
  #define BOOST_SPIRIT_THREADSAFE 1
#endif
#ifndef PHOENIX_THREADSAFE
  #define PHOENIX_THREADSAFE 1
#endif
#ifndef BOOST_MATH_DISABLE_STD_FPCLASSIFY
  #define BOOST_MATH_DISABLE_STD_FPCLASSIFY 1
#endif
#ifndef BOOST_UUID_RANDOM_PROVIDER_FORCE_POSIX
  #define BOOST_UUID_RANDOM_PROVIDER_FORCE_POSIX 1
#endif
#ifndef BOOST_MPL_IGNORE_PARENTHESES_WARNING
  #define BOOST_MPL_IGNORE_PARENTHESES_WARNING 1
#endif
#ifndef CMSSW_GIT_HASH
  #define CMSSW_GIT_HASH "CMSSW_20_1_X_2026-07-06-2300"
#endif
#ifndef PROJECT_NAME
  #define PROJECT_NAME "CMSSW"
#endif
#ifndef PROJECT_VERSION
  #define PROJECT_VERSION "CMSSW_20_1_X_2026-07-06-2300"
#endif
#ifndef CMSSW_REFLEX_DICT
  #define CMSSW_REFLEX_DICT 1
#endif

#define _BACKWARD_BACKWARD_WARNING_H
// Inline headers
// C++ headers
#include <map>

// ROOT headers
#include "Rtypes.h"

// CMSSW headers
#include "DataFormats/Common/interface/ClonePolicy.h"
#include "DataFormats/Common/interface/OwnVector.h"
#include "DataFormats/Common/interface/Ref.h"
#include "DataFormats/Common/interface/ValueMap.h"
#include "DataFormats/Common/interface/Wrapper.h"
#include "DataFormats/DetId/interface/DetId.h"
#include "DataFormats/GsfTrackReco/interface/GsfTrack.h"
#include "DataFormats/GsfTrackReco/interface/GsfTrackExtra.h"
#include "DataFormats/Math/interface/Point3D.h"
#include "DataFormats/Math/interface/Vector3D.h"
#include "DataFormats/ParticleFlowReco/interface/ConvBremSeed.h"
#include "DataFormats/ParticleFlowReco/interface/ConvBremSeedFwd.h"
#include "DataFormats/ParticleFlowReco/interface/GsfPFRecTrack.h"
#include "DataFormats/ParticleFlowReco/interface/HGCalMultiCluster.h"
#include "DataFormats/ParticleFlowReco/interface/PFBlock.h"
#include "DataFormats/ParticleFlowReco/interface/PFBlockElement.h"
#include "DataFormats/ParticleFlowReco/interface/PFBlockElementBrem.h"
#include "DataFormats/ParticleFlowReco/interface/PFBlockElementCluster.h"
#include "DataFormats/ParticleFlowReco/interface/PFBlockElementGsfTrack.h"
#include "DataFormats/ParticleFlowReco/interface/PFBlockElementSuperCluster.h"
#include "DataFormats/ParticleFlowReco/interface/PFBlockElementTrack.h"
#include "DataFormats/ParticleFlowReco/interface/PFCluster.h"
#include "DataFormats/ParticleFlowReco/interface/PFConversion.h"
#include "DataFormats/ParticleFlowReco/interface/PFConversionFwd.h"
#include "DataFormats/ParticleFlowReco/interface/PFDisplacedTrackerVertex.h"
#include "DataFormats/ParticleFlowReco/interface/PFDisplacedVertex.h"
#include "DataFormats/ParticleFlowReco/interface/PFDisplacedVertexCandidate.h"
#include "DataFormats/ParticleFlowReco/interface/PFDisplacedVertexCandidateFwd.h"
#include "DataFormats/ParticleFlowReco/interface/PFDisplacedVertexFwd.h"
#include "DataFormats/ParticleFlowReco/interface/PFDisplacedVertexSeed.h"
#include "DataFormats/ParticleFlowReco/interface/PFDisplacedVertexSeedFwd.h"
#include "DataFormats/ParticleFlowReco/interface/PFNuclearInteraction.h"
#include "DataFormats/ParticleFlowReco/interface/PFRecHit.h"
#include "DataFormats/ParticleFlowReco/interface/PFRecTrack.h"
#include "DataFormats/ParticleFlowReco/interface/PFSimParticle.h"
#include "DataFormats/ParticleFlowReco/interface/PFTrajectoryPoint.h"
#include "DataFormats/ParticleFlowReco/interface/PFV0.h"
#include "DataFormats/ParticleFlowReco/interface/ParticleFiltrationDecision.h"
#include "DataFormats/ParticleFlowReco/interface/PreId.h"
#include "DataFormats/ParticleFlowReco/interface/PreIdFwd.h"
#include "DataFormats/ParticleFlowReco/interface/RecoPFClusterRefCandidate.h"
#include "DataFormats/ParticleFlowReco/interface/RecoPFClusterRefCandidateFwd.h"
#include "DataFormats/TrackReco/interface/Track.h"
#include "DataFormats/TrackReco/interface/TrackFwd.h"
#include "Math/Cartesian3D.h"
#include "Math/CylindricalEta3D.h"
#include "Math/GenVector/PositionVector3D.h"
#include "Math/Polar3D.h"
#include "Math/PxPyPzE4D.h"

#undef  _BACKWARD_BACKWARD_WARNING_H


----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 09-Jul-2026 21:17:11 CEST-----------------------
An exception of category 'FatalRootError' occurred while
   [0] Constructing the EventProcessor
   [1] While attempting to load plugin HGCalTriggerGeometryESProducer
   Additional Info:
      [a] Fatal Root Error: @SUB=TInterpreter::LoadPCM
The file /cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02949/el9_amd64_gcc13/cms/cmssw/CMSSW_20_1_X_2026-07-06-2300/lib/el9_amd64_gcc13/DataFormatsL1GlobalMuonTrigger_xr_rdict.pcm is not a ROOT as was expected


----- End Fatal Exception -------------------------------------------------
Expand to see more relval errors ...

@bfonta

bfonta commented Jul 10, 2026

Copy link
Copy Markdown
Contributor Author

I see

09-Jul-2026 21:16:57 CEST  Successfully opened file file:step2.root
<FATAL>                          : <BookMVA> fatal error: unable to open input weight file: /cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02949/el9_amd64_gcc13/cms/cmssw-patch/CMSSW_20_1_X_2026-07-09-1100/external/el9_amd64_gcc13/data/RecoMTD/TimingIDTools/data/BDT_nvars_17_d7.xml
***> abort program execution

and

09-Jul-2026 21:16:58 CEST  Successfully opened file file:step2.root
DataFormatsParticleFlowReco_x1r dictionary payload:120:10: fatal error: cannot open file '/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02949/el9_amd64_gcc13/cms/cmssw-patch/CMSSW_20_1_X_2026-07-09-1100/src/DataFormats/ParticleFlowReco/interface/PreIdFwd.h': Too many open files
#include "DataFormats/ParticleFlowReco/interface/PreIdFwd.h"

in the two CloseBy workflows that failed.

@bfonta

bfonta commented Jul 10, 2026

Copy link
Copy Markdown
Contributor Author

I've run runTheMatrix.py -l 34500.0 -w upgrade locally without issues. I'll assume the error came from a DAS glitch.

@bfonta

bfonta commented Jul 10, 2026

Copy link
Copy Markdown
Contributor Author

@cmsbuild, please test

@cmsbuild

Copy link
Copy Markdown
Contributor

+1

Size: This PR adds an extra 72KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-444934/54658/summary.html
COMMIT: a76ace7
CMSSW: CMSSW_20_1_X_2026-07-09-2300/el9_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/51006/54658/install.sh to create a dev area with all the needed externals and cmssw changes.

DAS Queries: The DAS query tests failed, see the summary page for details.

Comparison Summary

Summary:

  • You potentially added 1 lines to the logs
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 45
  • DQMHistoTests: Total histograms compared: 3548186
  • DQMHistoTests: Total failures: 4
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3548164
  • DQMHistoTests: Total skipped: 18
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 44 files compared)
  • Checked 195 log files, 163 edm output root files, 45 DQM output files
  • TriggerResults: no differences found

@AdrianoDee

Copy link
Copy Markdown
Contributor

+pdmv
(DisplacedSUSY is good now)

@cmsbuild

Copy link
Copy Markdown
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @ftenchini, @mandrenguyen (and backports should be raised in the release meeting by the corresponding L2)

@mandrenguyen

Copy link
Copy Markdown
Contributor

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants